User Interface by Eric Brombaugh (ericb@sicom.com)
version 1.4 2-27-95
Assembler by Lloyd Miller ( lloyd@lfmcal.cuc.ab.ca)
version 0.17
INTRO
This program is a simple assembler for the Texas Instruments TMS3202x family
of Digital Signal Processors. It is intended for use with the program dskL by
Gerrit Polder, which can be used to download the assembled code to the TI DSK
development system.
USAGE
The user interface is extremely simple. To assemble a source file, select your
text file in the File->Open menu, or Drop-Launch/Drop-Load the file with the Finder. Then select File->Assemble. A console I/O window will open indicating the progress of the assembly. If there are errors, they will be listed in this window. Successful assembly will be noted here as well. If you have corrected errors, you may re-assemble the source text by choosing File->Assemble again, without first going to the File->Open menu.
The File->Preferences item allows you to customize the .xxx extension of your
resulting binary output file and listing file. The defaults are .dsk for the binary
file, and .lst for the listing file. You may also change the size (row, column) of
the console I/O window. Note that the contents of the console I/O window will
be lost if you click OK in the preferences dialog.
New in version 1.4, the File->Preferences menu item also allows you to select
the method of encoding the LDPK instruction. There is a disagreement between
the TMS320C2x data book and the TI PC version of DSKA about how to encode
LDPK. The data book indicates that the argument for LDPK is a page reference
which is placed directly into the lower 9 bits of the instruction. The PC version
of DSKA which is provided by TI takes the argument of LDPK as an address which
is right-shifted to obtain a page reference. I allow you to choose what sort of
compatibility you wish by means of a checkbox.
The file type of both of the output files is 'TEXT', so they may be viewed with
TeachText or SimpleText. The creator of the binary file has been set to dskL,
which will allow you to load the binary file into Gerrit Polder's dskL application
simply by double-clicking on the file in the Finder.
FILES
The following files should be included with this archive:
1) DSKA The assembler application.
2) dska.doc This documentation file.
3) hostspec.asm A spectrum analyzer which plots on the host computer.
4) mmregs.inc An include file which defines symbols for the TMS320c26 registers.
5) dsk_twid.inc An include file which defines sine/cosines for an fft.
6) TESTF.ASM An assembler test file.
HISTORY
Rev 1.4 2/26/95
Added AppleEvents to allow Drop-Launch/Drop-Load.
Added LDPK encoding selection.
Fixed BANZ bug detected by Gerrit Polder.
Rev 1.3 12/23/94
Added LDPK Bug fix discovered/fixed by Ron Parsons
Rev 1.2 10/15/94
Updated assembler code to version 0.17.
Rev 1.1 10/10/94
Updated assembler code to version 0.16. Added GetNextEvent during
assembly to allow multitasking.
Rev 1.0
Initial release.
NOTES
There are a few things about this program which could be better, command keys
would be nice for instance but were left out because they conflict with the Think C
console interface. A nice help system would be good, but doesn't really add to
the functionality.
If you have any bug-reports or problems with this application, please let me know.
Don't bother Lloyd, as he cannot support the Macintosh version.
THANKS
Thanks go to Lloyd Miller of course, for his clearly written assembler code. This
program would simply not exist without his original work. Gerrit Polder helped
immensely in the beta-test of this code, as well as providing motivation for
doing it in the first place. Ron Parsons of TAPR helped debug some assembler
errors after the initial release.
LEGAL
This program is freeware. Use it, but don't sell it.
Enjoy!
Eric Brombaugh
ericb@sicom.com
emeb@indirect.com
Sept. 26, 1994
ADDITIONAL INFO
The following are docs from Lloyd Miller pertaining to his dska.c assembler. Since
the Macintosh version of dska is based on his code, I have included it here.